<form class="form-vertical" action="/portal/dologin" method="post">
  <legend><%=t"register.form.login"%></legend>
  <div class="control-group">
    <label class="control-label" for="inputLoginname"><%=t"register.form.loginname"%></label>
    <div class="controls">
      <input type="text" name="login" id="inputLoginname" placeholder="<%=t"register.form.loginname"%>">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputPassword"><%=t"register.form.password"%></label>
    <div class="controls">
      <input type="password" name="password" id="inputPassword" placeholder="<%=t"register.form.password"%>">
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <label class="checkbox">
        <input type="checkbox"><%=t"register.form.rememberme"%>
        <a href="/portal/forgotpass/"><%=t"register.form.forgotpass"%></a>
      </label>
      <button type="submit" class="btn btn-primary"><%=t"register.form.login"%></button>
      <a class="btn btn-success" href="/portal/register/"><%=t"register.form.register"%></a>
    </div>
  </div>
</form>